package xyz.liuyuhe.StudySpring.ch5.custns;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CustNsMain {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("classpath*:ch5/custns/beans.xml");
        Calculator cal = ac.getBean("cal", Calculator.class);
        System.out.println(cal);
    }
}
